Towards Good C++ Interval Libraries: Tricks and Traits

نویسنده

  • FRÉDÉRIC GOUALARD
چکیده

Despite its usefulness for overcoming floating-point arithmetic defects, manipulating imprecise data, and performing non-linear global optimization, interval arithmetic is not yet a first-class type in any computer language. Some attempts are underway for Fortran and Java, not for C++. However, some add-on C++ interval libraries already exist though they do not respect the C++ standard library spirit since they are not generic (one cannot choose the type for the interval bounds). The design and implementation of JAIL, a C++ templated library based on the “traits” C++ programming technique, are presented in this paper; parameterization is shown to enhance the reliability, the versatily, and the portability of the library across multiple platforms. The impact on efficiency of parameterization through templated classes and of some implementation tricks is also investigated.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

رابطۀ بین فرهنگ سازمانی و کیفیت خدمات در کتابخانه‌های وابسته به نهاد کتابخانه‌های عمومی در شهرستان مشهد

Purpose: The purpose of the present article is the Investigation on the relationship between organizational culture and quality of services in the libraries affiliated to Iran Public Libraries Foundation in the Mashhad city. Methodology: This research was based on survey research method. The populations under question include employees and users of Mashhad city public libraries. For the extr...

متن کامل

n Service of Their Communities : Public Libraries

Introduction It is no doubt a truism to say that public libraries are societal institutions that genuinely mirror the society in which they have been set up. In spite of the fact that they are normally established and funded by the local communities, their activities reflect the broader policies of a particular society towards its citizens. The contemporary society in which public libraries act...

متن کامل

Construction of Human Recombinant ScFv Phage Libraries from the Advanced Stages of Breast Carcinoma Patients

Advances in the field of antibody engineering, and the emergence of powerful screening technology such as filamentous phage display allowed to generate fully human antibodies with high affinities against virtually any desired target from immune or even naIve human repertoires. As a result, the immunogenicity problems related to applications of nonhuman based recombinant antibodies as therapeuti...

متن کامل

Mathematica Connectivity to Interval Libraries filib++ and C-XSC

Building interval software interoperability can be a good solution when re-using high-quality legacy code or when accessing functionalities unavailable natively in one of the software packages. In this work we present the integration of programs based on the interval libraries filib++ and C-XSC into Mathematica via MathLink communication protocol. On some small easily readable programs we demon...

متن کامل

Analyzing the Public Libraries' Accessibility in the Municipality of District 20 of Tehran

Purpose: This paper aims to investigate the status of district 20 of Tehran in terms of the availability of public libraries and access of its residents to library services. Method: In this research, an analytical–descriptive method was used to analyze the public libraries' accessibility in the municipality of district 20 of Tehran. Parts of the data have been obtained from the documents of th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000